main {
    background-color: #bdb9b9;
}

.main_content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
    padding: 16px;
}

.main_card {
    border-radius: 8px;
    box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.23);
}

.card_icon {
    font-size: 80px;
    color: black;
    text-align: center;
    padding: 20px 0;
}

.card_icon i {
    filter: drop-shadow(10px 10px 5px rgba(0,0,0,0.2));
}

.card_icon i:hover, .card_look a:hover, .card_edit a:hover {
    color: #F0F5F9;
    cursor: pointer;
    transition: all 0.5s;
}

.card_body {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 20px;
    padding: 16px 0;
}

.card_look,
.card_edit {
    cursor: pointer;
}

.card_look:hover,
.card_edit:hover {
    color: #F0F5F9;
}

.main_community {
    display: grid;
    gap: 20px;
    grid-template-columns: 2fr 1fr;
    padding: 16px;
}

.main_comments_count, .main_users_count {
    text-align: center;
    font-weight: bold;
    display: inline-block;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.23);
    margin-bottom: 20px;
}

.main_comments_lent {
    display: grid;
    grid-auto-rows: auto;
    row-gap: 20px;
}

.comments_user {
    display: grid;
    grid-template-columns: 128px auto;
    column-gap: 20px;
    border-radius: 8px;
    box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.23);
    padding: 16px;
}

.comments_user_profile {
    display: grid;
    grid-template-columns: auto;
    text-align: center;
    font-weight: bold;
}

.comments_user_profile img, .users_user_avatar img {
    border-radius: 8px;
    height: 128px;
    max-width: 128px;
}

.comments_user_name a:hover {
    color: #52616B;
    transition: all 0.5s;
}

.main_users_lent {
    display: grid;
    grid-template-columns: repeat(3, 128px);
    grid-auto-rows: auto;
    justify-items: center;
    padding: 16px;
    column-gap: 20px;
    border-radius: 8px;
    box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.23);
    text-align: center;
    font-weight: bold;
}

.users_user_name {
    padding: 16px 0;
}

.users_user_name a:hover {
    color: #F0F5F9;
    transition: all 0.5s;
}

.main_create, .main_show {
    padding: 16px;
}

.main_title {
    background-color: #F0F5F9;
    display: flex;
    align-items: center;
    border-radius: 8px;
    box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.23);
    padding: 16px;
}

.main_title i {
    font-size: 20px;
    margin-left: 10px;
}

.main_header {
    display: flex;
}

.main_back {
    display: flex;
    background-color: #F0F5F9;
    border-radius: 8px;
    box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.23);
    margin-left: 20px;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.main_back a:hover {
    color: #8fa4b2;
}

.comments_user_plus {
    background-color: #F0F5F9;
    border-radius: 8px;
    box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.23);
    margin-top: 20px;
    display: flex;
    padding: 16px;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.comments_user_add_more i {
    margin-right: 5px;
}

.comments_user_add_more a:hover {
    color: #8fa4b2;
    transition: all 0.5s;
}

.users_user_plus {
    width: 128px;
    height: 128px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

.users_user_add_more a:hover {
    color: #8fa4b2;
    transition: all 0.5s;
}

.footer_rights {
    font-weight: bold;
    color: #F0F5F9;
    text-align: center;
}

/*Adaptive layout*/

@media (max-width: 900px){
    .main_community {
        display: block;
    }

    .main_users {
        margin-top: 20px;
    }

    .main_users_lent {
        display: grid;
        grid-template-columns: repeat(4, auto);
        grid-auto-rows: auto;
    }
}



















